<?

	include_once("cmsConfig.php");
	
	//this is a specialisation of the body content block for building pages used by the page builder
	class CmsPageBuilderContentBlock extends CmsBodyContentBlock {
		
		
		function CmsPageBuilderContentBlock() {
			parent::CmsBodyContentBlock();
			$this->TINYMCE_CSS = CMS_PAGEBUILDER_TINYMCE_CSS;
			$this->TINYMCE_STYLES = CMS_PAGEBUILDER_TINYMCE_STYLES;
			$this->TINYMCE_TAGS = CMS_PAGEBUILDER_TINYMCE_TAGS;	
		}
		
		function generateHTML(&$db) {		

			ob_start();
			include(CMS_PAGEBUILDER_TEMPLATES . "contentBlock.php");
			return ob_get_clean();
			
		}
		
	}